using System;
class Program {
    static void Main() {
        ShiftingBits();
    }
    static void ShiftingBits() {
        Console.WriteLine(nameof(ShiftingBits));
        ushort s1 = 0b01;
        for (int i = 0; i < 16; i++)
        {
            Console.WriteLine($"{s1.ToBinaryString()} {s1.ToString().PadLeft(6, ' ')}  hex: {s1:X}");
            s1 = (ushort)(s1 << 1);
        }
        Console.WriteLine();
    }
}